package com.xxx.system.service;

import com.xxx.blog.domain.ArticleType;
import com.xxx.system.domain.Menu;
import com.xxx.system.domain.Role;
import com.xxx.system.query.MenuQuery;
import com.xxx.system.query.RoleQuery;

import java.util.List;

public interface IMenuService {
    List<Menu> getTypeTree();

    List<Menu> findAll();

    Menu findOne(Long id);

    List<Menu> queryPage(MenuQuery menuQuery);

    void addMenu(Menu menu);

    void updateMenu(Menu menu);

    void deleteMenu(Long id);

    void batchMenu(Long[] ids);

    List<Menu> getTypeTree2(Long id);

}
